package com.hs.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author lin
 * @date 2022-07-20
 * @desc
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ParkingDto {
    //泊位号
    @NotBlank(message = "请正确填写泊位号")
    private Long berthId;

    //停车路段
    private String roadName;

    //驶入时间
    private String enterTime;

    //停车时长
    private String parkingTime;

    //停车费用
    private BigDecimal parkingFee;
}
